<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ailvo&nbsp;爱旅窝商城后台管理系统</title>
<include file="Public/header" />
<script type="text/javascript" src="__PUBLIC__/Js/jquery.validate.js"></script>
<script type="text/javascript">
$(function(){
    $("#myform").validate({
        rules: {
                 name : {required: true,},

        },
        messages: {
                name : {required: '请输入分类名！',},
               
       },
    })
})

</script>
</head>


<body>
<div  style="height:765px;">
   
  
        <div class="list_vmall_man">
        	<div class="list_vmall_le">
            	 <include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
            </div>
            <div class="list_vmall_rig">
            	<ul class="breadcrumb">
                    <li><a href="<{:U('type')}>">分类管理</a> </li>
                    <li class="active"><if condition="$data.id eq ''">添加分类<else />修改分类</if></li>
                </ul>
                <div class="list_vmall_bort">
                    <form id="myform" method="post" action="<{:U('insertType')}>">
                        <input type="hidden" name="id" value="<{$data.id}>">
                    	<div class="vmall_padi">
                           
                           
                            <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">分类</label>
                                <div class="vmaal_rols">

                                    <select name="pid">
                                        <option value="0">--顶级分类--</option>
                                        <volist name="list" id="vo">
                                          <option value="<{$vo.id}>" <if condition="$data.id eq $vo.id ">selected</if> ><{$vo.showname}></option>
                                        </volist>
                                    </select>
                              
                                </div>
                            </div> 

                             <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">分类名</label>
                                <div class="vmaal_rols">
                                    <input type="text" class="vmaal_sinw1 input_a1 int_wod" id="name" name="name" value="<{$data.name}>">
                                    
                                </div>
                            </div>
							 <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">标题</label>
                                <div class="vmaal_rols">
                                    <input type="text" class="vmaal_sinw1 input_a1 int_wod" id="name" name="title" value="<{$data.title}>">
                                    
                                </div>
                            </div>

                            <div class="vmall_cle">
                                <div class="vmaal_rols">
                                    <button class="v_mall_q_1" style="border:0; height:32px; padding-top:0; cursor:pointer;" type="submit">确&nbsp;&nbsp;定</button>
                                </div>
                            </div>

                         </div>
                     </form> 
                </div>
                
            </div>
            
            
            <!--弹窗 AD-->
            
           <!--  <div class="modal hide fade in" id="guide_1" style="display:block;" aria-hidden="false">
                <div class="modal-body">
                    <img src="__Images__/guide_1.jpg">
                </div>
                <div class="modal-footer">
                    <button aria-hidden="true" data-dismiss="modal" class="btn" style="padding:4px 12px; font-size:14px;">关闭</button>
                </div>
            </div> -->
            
            <!--弹窗 |End -->
        </div>
        

    
    
    
  
</div>



</body>
</html>
